package cn.kgc.fcm.dsbank.service;

import cn.kgc.fcm.dsbank.condition.CustomerCondition;
import cn.kgc.fcm.dsbank.dto.ResultDTO;
import cn.kgc.fcm.dsbank.entity.Customer;
import cn.kgc.fcm.dsbank.utils.Pager;

import java.util.List;

public interface CustomerService {

    ResultDTO<List<Customer>> selectCustomerAll(CustomerCondition condition, Pager pager);

    ResultDTO<Customer> selectCustomerByCustomerId(Long customerId);

    ResultDTO addCustomer(Customer customer);
}
